#!/usr/bin/env python3
# _*_ coding: utf-8 _*_


from ctypes import *
import platform


if __name__ == '__main__':

	if platform.system() == 'Windows':
		lib_ext = '.dll'
	elif platform.system() == 'Linux':
		lib_ext = '.so'
	elif platform.system() == 'Darwin':
		lib_ext = '.dylib'

	libname = './libdemo_dll' + lib_ext
	
	library = cdll.LoadLibrary(libname)

	library.hello()
